-
Notifications
You must be signed in to change notification settings - Fork 65
feat: enable hypercore in frontend #1857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: enable hypercore in frontend #1857
Conversation
Signed-off-by: Gerhard Steenkamp <[email protected]>
Signed-off-by: Gerhard Steenkamp <[email protected]>
Signed-off-by: Gerhard Steenkamp <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Signed-off-by: Gerhard Steenkamp <[email protected]>
Signed-off-by: Gerhard Steenkamp <[email protected]>
Signed-off-by: Gerhard Steenkamp <[email protected]>
Signed-off-by: Gerhard Steenkamp <[email protected]>
Signed-off-by: Gerhard Steenkamp <[email protected]>
| const fillTxReceipt = await provider.getTransactionReceipt(data.fillTx); | ||
| const fillTxBlock = await provider.getBlock(fillTxReceipt.blockNumber); | ||
|
|
||
| const parsedFIllLog = parseFilledRelayLog(fillTxReceipt.logs); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be parsedFillLog not parsedFIllLog
| if (indirectDestinationRoutes.length === 0) { | ||
| if (!indirectDestinationRoute) { | ||
| throw new InvalidParamError({ | ||
| message: "No indirect bridge routes found to specified destination chain", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| message: "No indirect bridge routes found to specified destination chain", | |
| message: "No indirect bridge route found to specified destination chain", |
| if (indirectDestinationRoutes.length === 0) { | ||
| if (!indirectDestinationRoute) { | ||
| throw new InvalidParamError({ | ||
| message: "No indirect bridge routes found to specified destination chain", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| message: "No indirect bridge routes found to specified destination chain", | |
| message: "No indirect bridge route found to specified destination chain", |
| intermediaryOutputToken: { | ||
| symbol: intermediaryOutputToken.symbol, | ||
| decimals: intermediaryOutputToken.decimals, | ||
| address: intermediaryOutputToken.addresses[intermediaryChainId], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The return type before the change was IndirectDestinationRoute[] and now it is IndirectDestinationRoute, what's the reason for the change of fields in the return type here?
| externalProjectId?: string; | ||
| }[]; | ||
| intermediaryChains?: number[]; | ||
| outputTokens?: ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason behind excluding the input and output token of the route here?
|
|
||
| export default { | ||
| name: "Hyperliquid", | ||
| fullName: "Hyperliquid", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between name and fullName?
Closes ACX-4459